package com.mrd.payClient;

import com.mrd.payClient.message.PayMessage;
import com.mrd.payClient.message.ReconciliationMessage;
import com.mrd.payClient.message.RefundMessage;
import com.mrd.payClient.params.PayParams;
import com.mrd.payClient.params.ReconciliationParams;
import com.mrd.payClient.params.RefundParams;

/**
 * 支付客户端
 * @author han
 */
public interface IPayClient {
	
	/**
	 * 支付接口
	 * @author han
	 * @param params PlayParams
	 * @return PlayMessage
	 */
	public PayMessage play(PayParams params) ;

	/**
	 * 退款接口
	 * @author han 
	 * @param params RefundParams 
	 * @return RefundMessage
	 */
	public RefundMessage refund(RefundParams params);

	/**
	 * 对账接口
	 * @author han
	 * @param params ReconciliationParams
	 * @return ReconciliationMessage
	 */
	public ReconciliationMessage reconciliation(ReconciliationParams params);
	
}
